import styles from './index.less';
import './index.copy.less'
import demoPng from './demo.png'
import { history } from 'umi';
import { Button } from 'antd'
export default function IndexPage() {

  return (
    <div>
      <h1 className={styles.title}>react子应用</h1>
      <h1 className='title' onClick={() => history.push('/demo')}>跳到demo</h1>
      <img style={{ width: 200, height: 70 }} src={demoPng} alt="" />
      <img style={{ width: 200, height: 70 }} src={'demo.png'} alt="" />
      <Button type="primary" >
        xxxx
      </Button>
    </div>
  );
}
